import java.util.Scanner;
public class AverageInput{
   public static void main(String[] args){
      Scanner scanner = new Scanner(System.in);
	  System.out.print("please enter student's number: ");
	  int length = scanner.nextInt();
	  float score[] = new float[length];
	  for(int i=0;i<length;i++){
	      System.out.print("please enter student's score: ");
		  float input = scanner.nextFloat();
		  score[i]=input;
	  }
	  System.out.print("\n score: ");
	  float total =0;
	  for(int i=0;i<score.length;i++){
	     total = total + score[i];
		 System.out.print(score[i] + "");
	  }
	  System.out.printf("\n average: %.2f", total/score.length);
   }
}